package net.zoneland.knowledge.service;

import java.util.List;

import net.zoneland.knowledge.model.EsQuestion;

/**
 * .
 *
 * @author: bcc
 * 2021/5/24
 */
public interface DataManageService {

    /**
     * 批量处理
     * @param list list
     * @return 保存失败的id
     * @throws Exception Exception
     */
    List<String> dealBatch(List<EsQuestion> list) throws Exception;

    /**
     * 根据ID查询题库
     * @param id
     * @return
     * @throws Exception
     */
    EsQuestion getById(String id) throws Exception;

}
